<form class="layui-form">
    <div class="layui-form-item" style="margin-top:5px;">
        <label class="layui-form-label">班级选择</label>
        <div class="layui-input-block">
            <select id="grade_id" class="layui-input" style="width:230px;display:block;">
                <option value="">请选择</option>
                <option th:each="item:${grade_list}"
                        th:value="${item.id}"
                        th:text="${item.grade_name}">
                </option>
            </select>
        </div>
    </div>
    <div class="layui-form-item" style="margin-top:5px;">
        <label class="layui-form-label">学生姓名</label>
        <div class="layui-input-block">
            <input type="text" id="student_name" placeholder="请输入" autocomplete="off" class="layui-input"
                   style="width:230px;">
        </div>
    </div>
    <div class="layui-form-item" style="margin-top:5px;">
        <label class="layui-form-label">登录名称</label>
        <div class="layui-input-block">
            <input type="text" id="login_name" placeholder="请输入" autocomplete="off" class="layui-input"
                   style="width:230px;">
        </div>
    </div>
    <div class="layui-form-item" style="margin-top:5px;">
        <label class="layui-form-label">登录密码</label>
        <div class="layui-input-block">
            <input type="text" id="login_pass" placeholder="请输入" autocomplete="off" class="layui-input"
                   style="width:230px;">
        </div>
    </div>
</form>